package com.xiashitech.agent.instrumentation.base.context;

import com.google.errorprone.annotations.MustBeClosed;

public interface XSImplicitContextKeyed {

    @MustBeClosed
    default void makeCurrent() {
        XSContext.current().with(this).makeCurrent();
    }

    XSContext storeInContext(XSContext context);

    XSContext storeInContextForConfluence(XSContext context);
}
